LV_DRIVERS_DIR_NAME ?= lv_drivers

include $(LVGL_DIR)/$(LV_DRIVERS_DIR_NAME)/display/display.mk
include $(LVGL_DIR)/$(LV_DRIVERS_DIR_NAME)/gtkdrv/gtkdrv.mk
include $(LVGL_DIR)/$(LV_DRIVERS_DIR_NAME)/indev/indev.mk
include $(LVGL_DIR)/$(LV_DRIVERS_DIR_NAME)/sdl/sdl.mk
include $(LVGL_DIR)/$(LV_DRIVERS_DIR_NAME)/wayland/wayland.mk

# CSRCS += $(wildcard $(ROOT_DIR)/$(LV_DRIVERS_DIR_NAME)/*.c)
# CSRCS += $(wildcard $(ROOT_DIR)/$(LV_DRIVERS_DIR_NAME)/wayland/*.c)
# CSRCS += $(wildcard $(ROOT_DIR)/$(LV_DRIVERS_DIR_NAME)/indev/*.c)
# CSRCS += $(wildcard $(ROOT_DIR)/$(LV_DRIVERS_DIR_NAME)/gtkdrv/*.c)
# CSRCS += $(wildcard $(ROOT_DIR)/$(LV_DRIVERS_DIR_NAME)/display/*.c)


#CSRCS += win_drv.c

DEPPATH += --dep-path $(LVGL_DIR)/$(LV_DRIVERS_DIR_NAME)
VPATH += :$(LVGL_DIR)/$(LV_DRIVERS_DIR_NAME)

CFLAGS += "-I$(LVGL_DIR)/$(LV_DRIVERS_DIR_NAME)"